//
// DlgHelp.h
//
// Copyright (c) Shareaza Development Team, 2002-2005.
// This file is part of SHAREAZA (www.shareaza.com)
//
// Shareaza is free software; you can redistribute it
// and/or modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 of
// the License, or (at your option) any later version.
//
// Shareaza is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Shareaza; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//

#if !defined(AFX_DLGHELP_H__0522BC8D_8BDA_4FF9_9B67_00602AED7634__INCLUDED_)
#define AFX_DLGHELP_H__0522BC8D_8BDA_4FF9_9B67_00602AED7634__INCLUDED_

#pragma once

#include "DlgSkinDialog.h"
#include "RichViewCtrl.h"
#include "RichDocument.h"


class CHelpDlg : public CSkinDialog
{
// Construction
public:
	CHelpDlg(LPCTSTR pszName, CWnd* pParent = NULL);

	DECLARE_DYNAMIC(CHelpDlg)

// Dialog Data
public:
	//{{AFX_DATA(CHelpDlg)
	enum { IDD = IDD_HELP };
	CStatic	m_wndBanner;
	//}}AFX_DATA

// Attributes
public:
	CRichViewCtrl	m_wndView;
	CRichDocument	m_pDocument;
	CString			m_sDocument;

// Operations
public:
	static BOOL Show(LPCTSTR pszName, CWnd* pParent = NULL);

// Overrides
public:
	//{{AFX_VIRTUAL(CHelpDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	//{{AFX_MSG(CHelpDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnClickView(RVN_ELEMENTEVENT* pNotify, LRESULT *pResult);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}

#define IDC_HELP_VIEW	100

#endif // !defined(AFX_DLGHELP_H__0522BC8D_8BDA_4FF9_9B67_00602AED7634__INCLUDED_)
